package com.xinhua.domain;


//消费实体类
public class Consumption {
    private int id;  //id
    private String name;  //消费名称
    private int price;  //消费金额
    private String type;  //消费类型
    private String time;  //消费的时间
    private int uuid;

    public Consumption() {
    }

    public Consumption(int id, String name, int price, String type, String time, int uuid) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.type = type;
        this.time = time;
        this.uuid = uuid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getUuid() {
        return uuid;
    }

    public void setUuid(int uuid) {
        this.uuid = uuid;
    }

    @Override
    public String toString() {
        return "Consumption{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", uuid=" + uuid +
                '}';
    }
}
